﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebApp.Common.EFQuery
{
    public class QueryResult 
    {
        public int RecordCount { get; set; }

        public IList<Object> Record  { get; set; }

        public int PageNumber { get; set; }

        public object EasyUIGridData {
            get {
                return new { total = RecordCount, rows = Record };
            }
        }
    }
}
